/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ServiceTypeEnum extends StringEnum
{
    public static final String ONESELF_VALUE = "10";
    public static final String PLANSERVICE_VALUE = "20";

    public static final ServiceTypeEnum oneself = new ServiceTypeEnum("oneself", ONESELF_VALUE);
    public static final ServiceTypeEnum planService = new ServiceTypeEnum("planService", PLANSERVICE_VALUE);

    /**
     * construct function
     * @param String serviceTypeEnum
     */
    private ServiceTypeEnum(String name, String serviceTypeEnum)
    {
        super(name, serviceTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ServiceTypeEnum getEnum(String serviceTypeEnum)
    {
        return (ServiceTypeEnum)getEnum(ServiceTypeEnum.class, serviceTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ServiceTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ServiceTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ServiceTypeEnum.class);
    }
}